using System;

namespace RBAC.Read.Api.Application.Dto.Quality
{
    public class ArrivalInspectionItemDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 检验单主键
        /// </summary>
        public long InspectionId { get; set; }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string PurchaseOrderNo { get; set; } = string.Empty;
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; } = string.Empty;
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; } = string.Empty;
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecModel { get; set; } = string.Empty;
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; } = string.Empty;
        /// <summary>
        /// 订购数量
        /// </summary>
        public decimal PurchaseQty { get; set; }
        /// <summary>
        /// 实收数量
        /// </summary>
        public decimal ReceivedQty { get; set; }
        /// <summary>
        /// 检验类型
        /// </summary>
        public string InspectionType { get; set; } = string.Empty;
        /// <summary>
        /// 检验数量
        /// </summary>
        public decimal InspectQty { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public decimal QualifiedQty { get; set; }
        /// <summary>
        /// 不合格数量
        /// </summary>
        public decimal UnqualifiedQty { get; set; }
        /// <summary>
        /// 检验结果
        /// </summary>
        public string InspectResult { get; set; } = string.Empty;
        /// <summary>
        /// 不合格原因
        /// </summary>
        public string UnqualifiedReason { get; set; } = string.Empty;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
}
